<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\ChargeAvailable
 *
 * @property int $id
 * @property int $user_id 用户id
 * @property float $amount 消费金额
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\ChargeAvailable onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ChargeAvailable whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ChargeAvailable whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ChargeAvailable whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ChargeAvailable whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ChargeAvailable whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ChargeAvailable whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\ChargeAvailable withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\ChargeAvailable withoutTrashed()
 * @mixin \Eloquent
 * @property int $discount_rule_id 优惠规则
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ChargeAvailable whereDiscountRuleId($value)
 */
class ChargeAvailable extends Model
{
    protected $table = "charge_available";
    use SoftDeletes;
}
